home *** CD-ROM | disk | FTP | other *** search
-
- // This JavaScript file was autogenerated from inc/real/wires/r3wfdc.h
- // Do not modify by hand
- // Copyrights 2001, Realsoft Graphics, Finland
-
- include("oops/r3root.js")
- include("oops/r3dc.js")
- var R3CLID_WIREFRAMEDRAWCONTEXT = 687;
-
- R3WFDCM_PUSHMATRIX = 687000;
-
- function _R3WFDCM_PUSHMATRIX() {
- return this.r3Do(R3WFDCM_PUSHMATRIX, arguments);
- }
-
-
- R3WFDCM_POPMATRIX = 687001;
-
- function _R3WFDCM_POPMATRIX() {
- return this.r3Do(R3WFDCM_POPMATRIX, arguments);
- }
-
-
- R3WFDCM_RENDERPOINTARRA = 687002;
-
- function _R3WFDCM_RENDERPOINTARRA() {
- return this.r3Do(R3WFDCM_RENDERPOINTARRAYS, arguments);
- }
-
-
- R3WFDCM_RENDERPOINTARRA = 687003;
-
- function _R3WFDCM_RENDERPOINTARRA() {
- return this.r3Do(R3WFDCM_RENDERPOINTARRAYSSHADED, arguments);
- }
-
-
- R3WFDCM_RENDERTRISETS = 687004;
-
- function _R3WFDCM_RENDERTRISETS() {
- return this.r3Do(R3WFDCM_RENDERTRISETS, arguments);
- }
-
-
- R3WFDCM_RENDERTRISETSSH = 687005;
-
- function _R3WFDCM_RENDERTRISETSSH() {
- return this.r3Do(R3WFDCM_RENDERTRISETSSHADED, arguments);
- }
-
-
- R3WFDCM_RENDERMATERIAL = 687006;
-
- function _R3WFDCM_RENDERMATERIAL() {
- return this.r3Do(R3WFDCM_RENDERMATERIAL, arguments);
- }
-
-
- R3WFDCM_RENDERTEXTURE = 687007;
-
- function _R3WFDCM_RENDERTEXTURE() {
- return this.r3Do(R3WFDCM_RENDERTEXTURE, arguments);
- }
-
-
- R3WFDCM_RENDERMESH = 687008;
-
- function _R3WFDCM_RENDERMESH() {
- return this.r3Do(R3WFDCM_RENDERMESH, arguments);
- }
-
-
- R3WFDCM_RENDERMESHSHADE = 687009;
-
- function _R3WFDCM_RENDERMESHSHADE() {
- return this.r3Do(R3WFDCM_RENDERMESHSHADED, arguments);
- }
-
-
- R3WFDCM_DRAWPOINTS = 687010;
-
- function _R3WFDCM_DRAWPOINTS() {
- return this.r3Do(R3WFDCM_DRAWPOINTS, arguments);
- }
-
-
- R3WFDCM_DRAWPOLY = 687011;
-
- function _R3WFDCM_DRAWPOLY() {
- return this.r3Do(R3WFDCM_DRAWPOLY, arguments);
- }
-
-
- R3WFDCM_DRAWPOLY2D = 687012;
-
- function _R3WFDCM_DRAWPOLY2D() {
- return this.r3Do(R3WFDCM_DRAWPOLY2D, arguments);
- }
-
-
- R3WFDCM_ROTATEHANDLE = 687013;
-
- function _R3WFDCM_ROTATEHANDLE() {
- return this.r3Do(R3WFDCM_ROTATEHANDLE, arguments);
- }
-
-
- R3WFDCM_COORDSYS = 687014;
-
- function _R3WFDCM_COORDSYS() {
- return this.r3Do(R3WFDCM_COORDSYS, arguments);
- }
-
-
- R3WFDCM_BOUNDINGBOX = 687015;
-
- function _R3WFDCM_BOUNDINGBOX() {
- return this.r3Do(R3WFDCM_BOUNDINGBOX, arguments);
- }
-
-
- R3WFDCM_SETCOLOR = 687016;
-
- function _R3WFDCM_SETCOLOR() {
- return this.r3Do(R3WFDCM_SETCOLOR, arguments);
- }
-
-
- R3WFDCM_DRAWPOINTSCONDI = 687017;
-
- function _R3WFDCM_DRAWPOINTSCONDI() {
- return this.r3Do(R3WFDCM_DRAWPOINTSCONDITIONALLY, arguments);
- }
-
-
- R3WFDCM_DRAWDIAMONDS = 687018;
-
- function _R3WFDCM_DRAWDIAMONDS() {
- return this.r3Do(R3WFDCM_DRAWDIAMONDS, arguments);
- }
-
-
- R3WFDCM_DRAWBOXES = 687019;
-
- function _R3WFDCM_DRAWBOXES() {
- return this.r3Do(R3WFDCM_DRAWBOXES, arguments);
- }
-
-
- R3WFDCM_DRAWCROSSES = 687020;
-
- function _R3WFDCM_DRAWCROSSES() {
- return this.r3Do(R3WFDCM_DRAWCROSSES, arguments);
- }
-
-
- R3WFDCM_DRAWDOTS = 687021;
-
- function _R3WFDCM_DRAWDOTS() {
- return this.r3Do(R3WFDCM_DRAWDOTS, arguments);
- }
-
-
- R3WFDCM_DRAWLINE = 687022;
-
- function _R3WFDCM_DRAWLINE() {
- return this.r3Do(R3WFDCM_DRAWLINE, arguments);
- }
-
-
- R3WFDCM_LIGHTAMBIENT = 687023;
-
- function _R3WFDCM_LIGHTAMBIENT() {
- return this.r3Do(R3WFDCM_LIGHTAMBIENT, arguments);
- }
-
-
- R3WFDCM_LIGHTPOINT = 687024;
-
- function _R3WFDCM_LIGHTPOINT() {
- return this.r3Do(R3WFDCM_LIGHTPOINT, arguments);
- }
-
-
- R3WFDCM_LIGHTDISTANT = 687025;
-
- function _R3WFDCM_LIGHTDISTANT() {
- return this.r3Do(R3WFDCM_LIGHTDISTANT, arguments);
- }
-
-
- R3WFDCM_LIGHTSPOT = 687026;
-
- function _R3WFDCM_LIGHTSPOT() {
- return this.r3Do(R3WFDCM_LIGHTSPOT, arguments);
- }
-
-
- R3WFDCM_RENDERICONS = 687027;
-
- function _R3WFDCM_RENDERICONS() {
- return this.r3Do(R3WFDCM_RENDERICONS, arguments);
- }
-
-
- R3WFDCM_DRAWFIXEDELEMEN = 687028;
-
- function _R3WFDCM_DRAWFIXEDELEMEN() {
- return this.r3Do(R3WFDCM_DRAWFIXEDELEMENT, arguments);
- }
-
-
- R3WFDCM_RENDERQUADSETS = 687029;
-
- function _R3WFDCM_RENDERQUADSETS() {
- return this.r3Do(R3WFDCM_RENDERQUADSETS, arguments);
- }
-
-
- R3WFDCM_RENDERQUADSETSS = 687030;
-
- function _R3WFDCM_RENDERQUADSETSS() {
- return this.r3Do(R3WFDCM_RENDERQUADSETSSHADED, arguments);
- }
-
-
- R3WFDCM_MAPWIRECOLOR = 687031;
-
- function _R3WFDCM_MAPWIRECOLOR() {
- return this.r3Do(R3WFDCM_MAPWIRECOLOR, arguments);
- }
-
-
- R3WFDCM_MAPSHADEDCOLOR = 687032;
-
- function _R3WFDCM_MAPSHADEDCOLOR() {
- return this.r3Do(R3WFDCM_MAPSHADEDCOLOR, arguments);
- }
-
-
- R3WFDCM_DRAWARROW = 687033;
-
- function _R3WFDCM_DRAWARROW() {
- return this.r3Do(R3WFDCM_DRAWARROW, arguments);
- }
-
-
- R3WFDCM_SETPATTERN = 687034;
-
- function _R3WFDCM_SETPATTERN() {
- return this.r3Do(R3WFDCM_SETPATTERN, arguments);
- }
-
-
- R3WFDCM_DRAWDIAMONDSWIT = 687035;
-
- function _R3WFDCM_DRAWDIAMONDSWIT() {
- return this.r3Do(R3WFDCM_DRAWDIAMONDSWITHONECOLOR, arguments);
- }
-
-
- R3WFDCM_ENABLEBLEND = 687036;
-
- function _R3WFDCM_ENABLEBLEND() {
- return this.r3Do(R3WFDCM_ENABLEBLEND, arguments);
- }
-
-
- R3WFDCM_DISABLEBLEND = 687037;
-
- function _R3WFDCM_DISABLEBLEND() {
- return this.r3Do(R3WFDCM_DISABLEBLEND, arguments);
- }
-
-
- R3WFDCM_SETSPECULARCOLO = 687038;
-
- function _R3WFDCM_SETSPECULARCOLO() {
- return this.r3Do(R3WFDCM_SETSPECULARCOLOR, arguments);
- }
-
-
- R3WFDCM_DRAWFACEARRAY = 687039;
-
- function _R3WFDCM_DRAWFACEARRAY() {
- return this.r3Do(R3WFDCM_DRAWFACEARRAY, arguments);
- }
-
-
- R3WFDCM_DRAWNORMALARRAY = 687040;
-
- function _R3WFDCM_DRAWNORMALARRAY() {
- return this.r3Do(R3WFDCM_DRAWNORMALARRAY, arguments);
- }
-
-
- R3WFDCM_DRAWBOXARRAY = 687041;
-
- function _R3WFDCM_DRAWBOXARRAY() {
- return this.r3Do(R3WFDCM_DRAWBOXARRAY, arguments);
- }
-
-
- R3WFDCM_RENDERTRISETFAC = 687042;
-
- function _R3WFDCM_RENDERTRISETFAC() {
- return this.r3Do(R3WFDCM_RENDERTRISETFACESSHADED, arguments);
- }
-
-
- R3WFDCM_RENDERQUADSETFA = 687043;
-
- function _R3WFDCM_RENDERQUADSETFA() {
- return this.r3Do(R3WFDCM_RENDERQUADSETFACESSHADED, arguments);
- }
-
-
- R3WFDCM_RENDERARRAYQUAD = 687044;
-
- function _R3WFDCM_RENDERARRAYQUAD() {
- return this.r3Do(R3WFDCM_RENDERARRAYQUADSETSSHADED, arguments);
- }
-
-
- R3WFDCM_RENDERARRAYTRIS = 687045;
-
- function _R3WFDCM_RENDERARRAYTRIS() {
- return this.r3Do(R3WFDCM_RENDERARRAYTRISETSSHADED, arguments);
- }
-
-
- R3WFDCM_RENDERARRAYTRIS = 687046;
-
- function _R3WFDCM_RENDERARRAYTRIS() {
- return this.r3Do(R3WFDCM_RENDERARRAYTRISETFACESSHADED, arguments);
- }
-
-
- R3WFDCM_RENDERARRAYQUAD = 687047;
-
- function _R3WFDCM_RENDERARRAYQUAD() {
- return this.r3Do(R3WFDCM_RENDERARRAYQUADSETFACESSHADED, arguments);
- }
-
-
- R3WFDCM_RENDERARRAYQUAD = 687048;
-
- function _R3WFDCM_RENDERARRAYQUAD() {
- return this.r3Do(R3WFDCM_RENDERARRAYQUADSETS, arguments);
- }
-
-
- R3WFDCM_RENDERARRAYTRIS = 687049;
-
- function _R3WFDCM_RENDERARRAYTRIS() {
- return this.r3Do(R3WFDCM_RENDERARRAYTRISETS, arguments);
- }
-
-
- R3WFDCM_SETFRONTFACE = 687050;
-
- function _R3WFDCM_SETFRONTFACE() {
- return this.r3Do(R3WFDCM_SETFRONTFACE, arguments);
- }
-
-
- R3WFDCM_RENDERARRAYQUAD = 687051;
-
- function _R3WFDCM_RENDERARRAYQUAD() {
- return this.r3Do(R3WFDCM_RENDERARRAYQUADSETFACESSHADEDBYTEXTUREARRAY, arguments);
- }
-
-
- R3WFDCM_RENDERARRAYTRIS = 687052;
-
- function _R3WFDCM_RENDERARRAYTRIS() {
- return this.r3Do(R3WFDCM_RENDERARRAYTRISETFACESSHADEDBYTEXTUREARRAY, arguments);
- }
-
- R3WFDCCA_HandleFillColo = 687506;
- function SetR3WFDCCA_HandleFillColo(value) {
- this.r3Set(R3WFDCCA_HandleFillColor, value);
- }
-
- function GetR3WFDCCA_HandleFillColo() {
- var value = 0;
- return this.r3Get(R3WFDCCA_HandleFillColor, value); // R3FLOATCOLOR *
- }
-
- R3WFDCCA_BoundingBoxCol = 687507;
- function SetR3WFDCCA_BoundingBoxCol(value) {
- this.r3Set(R3WFDCCA_BoundingBoxColor, value);
- }
-
- function GetR3WFDCCA_BoundingBoxCol() {
- var value = 0;
- return this.r3Get(R3WFDCCA_BoundingBoxColor, value); // R3FLOATCOLOR *
- }
-
- R3WFDCCA_DefaultColor = 687510;
- function SetR3WFDCCA_DefaultColor(value) {
- this.r3Set(R3WFDCCA_DefaultColor, value);
- }
-
- function GetR3WFDCCA_DefaultColor() {
- var value = 0;
- return this.r3Get(R3WFDCCA_DefaultColor, value); // R3FLOATCOLOR *
- }
-
- R3WFDCCA_PointColor = 687511;
- function SetR3WFDCCA_PointColor(value) {
- this.r3Set(R3WFDCCA_PointColor, value);
- }
-
- function GetR3WFDCCA_PointColor() {
- var value = 0;
- return this.r3Get(R3WFDCCA_PointColor, value); // R3FLOATCOLOR *
- }
-
- R3WFDCCA_XColor = 687512;
- function SetR3WFDCCA_XColor(value) {
- this.r3Set(R3WFDCCA_XColor, value);
- }
-
- function GetR3WFDCCA_XColor() {
- var value = 0;
- return this.r3Get(R3WFDCCA_XColor, value); // R3FLOATCOLOR *
- }
-
- R3WFDCCA_YColor = 687513;
- function SetR3WFDCCA_YColor(value) {
- this.r3Set(R3WFDCCA_YColor, value);
- }
-
- function GetR3WFDCCA_YColor() {
- var value = 0;
- return this.r3Get(R3WFDCCA_YColor, value); // R3FLOATCOLOR *
- }
-
- R3WFDCCA_ZColor = 687514;
- function SetR3WFDCCA_ZColor(value) {
- this.r3Set(R3WFDCCA_ZColor, value);
- }
-
- function GetR3WFDCCA_ZColor() {
- var value = 0;
- return this.r3Get(R3WFDCCA_ZColor, value); // R3FLOATCOLOR *
- }
-
- R3WFDCCA_OriginColor = 687515;
- function SetR3WFDCCA_OriginColor(value) {
- this.r3Set(R3WFDCCA_OriginColor, value);
- }
-
- function GetR3WFDCCA_OriginColor() {
- var value = 0;
- return this.r3Get(R3WFDCCA_OriginColor, value); // R3FLOATCOLOR *
- }
-
- R3WFDCCA_SelectedColor = 687524;
- function SetR3WFDCCA_SelectedColor(value) {
- this.r3Set(R3WFDCCA_SelectedColor, value);
- }
-
- function GetR3WFDCCA_SelectedColor() {
- var value = 0;
- return this.r3Get(R3WFDCCA_SelectedColor, value); // R3FLOATCOLOR*
- }
-
- R3WFDCCA_UnSelectedColo = 687525;
- function SetR3WFDCCA_UnSelectedColo(value) {
- this.r3Set(R3WFDCCA_UnSelectedColor, value);
- }
-
- function GetR3WFDCCA_UnSelectedColo() {
- var value = 0;
- return this.r3Get(R3WFDCCA_UnSelectedColor, value); // R3FLOATCOLOR*
- }
-
- R3WFDCCA_UnSelectShaded = 687527;
- function SetR3WFDCCA_UnSelectShaded(value) {
- this.r3Set(R3WFDCCA_UnSelectShadedDarkness, value);
- }
-
- function GetR3WFDCCA_UnSelectShaded() {
- var value = 0;
- return this.r3Get(R3WFDCCA_UnSelectShadedDarkness, value); // R3FLOAT*
- }
-
- R3WFDCCA_XColor2 = 687530;
- function SetR3WFDCCA_XColor2(value) {
- this.r3Set(R3WFDCCA_XColor2, value);
- }
-
- function GetR3WFDCCA_XColor2() {
- var value = 0;
- return this.r3Get(R3WFDCCA_XColor2, value); // R3FLOATCOLOR *
- }
-
- R3WFDCCA_YColor2 = 687531;
- function SetR3WFDCCA_YColor2(value) {
- this.r3Set(R3WFDCCA_YColor2, value);
- }
-
- function GetR3WFDCCA_YColor2() {
- var value = 0;
- return this.r3Get(R3WFDCCA_YColor2, value); // R3FLOATCOLOR *
- }
-
- R3WFDCCA_ZColor2 = 687532;
- function SetR3WFDCCA_ZColor2(value) {
- this.r3Set(R3WFDCCA_ZColor2, value);
- }
-
- function GetR3WFDCCA_ZColor2() {
- var value = 0;
- return this.r3Get(R3WFDCCA_ZColor2, value); // R3FLOATCOLOR *
- }
-
- include("oops/r3vector.js")
- include("oops/r3color.js")
- include("real/objects/r3triset.js")
- function r3Wireframedrawcontext () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_WIREFRAMEDRAWCONTEXT, arguments);
- }
- // Methods
- this.PUSHMATRIX=_R3WFDCM_PUSHMATRIX;
- this.POPMATRIX=_R3WFDCM_POPMATRIX;
- this.RENDERPOINTARRA=_R3WFDCM_RENDERPOINTARRA;
- this.RENDERPOINTARRA=_R3WFDCM_RENDERPOINTARRA;
- this.RENDERTRISETS=_R3WFDCM_RENDERTRISETS;
- this.RENDERTRISETSSH=_R3WFDCM_RENDERTRISETSSH;
- this.RENDERMATERIAL=_R3WFDCM_RENDERMATERIAL;
- this.RENDERTEXTURE=_R3WFDCM_RENDERTEXTURE;
- this.RENDERMESH=_R3WFDCM_RENDERMESH;
- this.RENDERMESHSHADE=_R3WFDCM_RENDERMESHSHADE;
- this.DRAWPOINTS=_R3WFDCM_DRAWPOINTS;
- this.DRAWPOLY=_R3WFDCM_DRAWPOLY;
- this.DRAWPOLY2D=_R3WFDCM_DRAWPOLY2D;
- this.ROTATEHANDLE=_R3WFDCM_ROTATEHANDLE;
- this.COORDSYS=_R3WFDCM_COORDSYS;
- this.BOUNDINGBOX=_R3WFDCM_BOUNDINGBOX;
- this.SETCOLOR=_R3WFDCM_SETCOLOR;
- this.DRAWPOINTSCONDI=_R3WFDCM_DRAWPOINTSCONDI;
- this.DRAWDIAMONDS=_R3WFDCM_DRAWDIAMONDS;
- this.DRAWBOXES=_R3WFDCM_DRAWBOXES;
- this.DRAWCROSSES=_R3WFDCM_DRAWCROSSES;
- this.DRAWDOTS=_R3WFDCM_DRAWDOTS;
- this.DRAWLINE=_R3WFDCM_DRAWLINE;
- this.LIGHTAMBIENT=_R3WFDCM_LIGHTAMBIENT;
- this.LIGHTPOINT=_R3WFDCM_LIGHTPOINT;
- this.LIGHTDISTANT=_R3WFDCM_LIGHTDISTANT;
- this.LIGHTSPOT=_R3WFDCM_LIGHTSPOT;
- this.RENDERICONS=_R3WFDCM_RENDERICONS;
- this.DRAWFIXEDELEMEN=_R3WFDCM_DRAWFIXEDELEMEN;
- this.RENDERQUADSETS=_R3WFDCM_RENDERQUADSETS;
- this.RENDERQUADSETSS=_R3WFDCM_RENDERQUADSETSS;
- this.MAPWIRECOLOR=_R3WFDCM_MAPWIRECOLOR;
- this.MAPSHADEDCOLOR=_R3WFDCM_MAPSHADEDCOLOR;
- this.DRAWARROW=_R3WFDCM_DRAWARROW;
- this.SETPATTERN=_R3WFDCM_SETPATTERN;
- this.DRAWDIAMONDSWIT=_R3WFDCM_DRAWDIAMONDSWIT;
- this.ENABLEBLEND=_R3WFDCM_ENABLEBLEND;
- this.DISABLEBLEND=_R3WFDCM_DISABLEBLEND;
- this.SETSPECULARCOLO=_R3WFDCM_SETSPECULARCOLO;
- this.DRAWFACEARRAY=_R3WFDCM_DRAWFACEARRAY;
- this.DRAWNORMALARRAY=_R3WFDCM_DRAWNORMALARRAY;
- this.DRAWBOXARRAY=_R3WFDCM_DRAWBOXARRAY;
- this.RENDERTRISETFAC=_R3WFDCM_RENDERTRISETFAC;
- this.RENDERQUADSETFA=_R3WFDCM_RENDERQUADSETFA;
- this.RENDERARRAYQUAD=_R3WFDCM_RENDERARRAYQUAD;
- this.RENDERARRAYTRIS=_R3WFDCM_RENDERARRAYTRIS;
- this.RENDERARRAYTRIS=_R3WFDCM_RENDERARRAYTRIS;
- this.RENDERARRAYQUAD=_R3WFDCM_RENDERARRAYQUAD;
- this.RENDERARRAYQUAD=_R3WFDCM_RENDERARRAYQUAD;
- this.RENDERARRAYTRIS=_R3WFDCM_RENDERARRAYTRIS;
- this.SETFRONTFACE=_R3WFDCM_SETFRONTFACE;
- this.RENDERARRAYQUAD=_R3WFDCM_RENDERARRAYQUAD;
- this.RENDERARRAYTRIS=_R3WFDCM_RENDERARRAYTRIS;
-
- // Attributes
- this.GetHandleFillColo=GetR3WFDCCA_HandleFillColo;
- this.SetHandleFillColo=SetR3WFDCCA_HandleFillColo;
- this.GetBoundingBoxCol=GetR3WFDCCA_BoundingBoxCol;
- this.SetBoundingBoxCol=SetR3WFDCCA_BoundingBoxCol;
- this.GetDefaultColor=GetR3WFDCCA_DefaultColor;
- this.SetDefaultColor=SetR3WFDCCA_DefaultColor;
- this.GetPointColor=GetR3WFDCCA_PointColor;
- this.SetPointColor=SetR3WFDCCA_PointColor;
- this.GetXColor=GetR3WFDCCA_XColor;
- this.SetXColor=SetR3WFDCCA_XColor;
- this.GetYColor=GetR3WFDCCA_YColor;
- this.SetYColor=SetR3WFDCCA_YColor;
- this.GetZColor=GetR3WFDCCA_ZColor;
- this.SetZColor=SetR3WFDCCA_ZColor;
- this.GetOriginColor=GetR3WFDCCA_OriginColor;
- this.SetOriginColor=SetR3WFDCCA_OriginColor;
- this.GetSelectedColor=GetR3WFDCCA_SelectedColor;
- this.SetSelectedColor=SetR3WFDCCA_SelectedColor;
- this.GetUnSelectedColo=GetR3WFDCCA_UnSelectedColo;
- this.SetUnSelectedColo=SetR3WFDCCA_UnSelectedColo;
- this.GetUnSelectShaded=GetR3WFDCCA_UnSelectShaded;
- this.SetUnSelectShaded=SetR3WFDCCA_UnSelectShaded;
- this.GetXColor2=GetR3WFDCCA_XColor2;
- this.SetXColor2=SetR3WFDCCA_XColor2;
- this.GetYColor2=GetR3WFDCCA_YColor2;
- this.SetYColor2=SetR3WFDCCA_YColor2;
- this.GetZColor2=GetR3WFDCCA_ZColor2;
- this.SetZColor2=SetR3WFDCCA_ZColor2;
- }
-
- r3Wireframedrawcontext.prototype=new r3Root;
- // inc/real/wires/r3wfdc.h_H